package ysq.xyg.service;

import com.github.pagehelper.PageInfo;
import ysq.xyg.model.Information;

import java.util.List;

/**
 * 文章
 *
 */
public interface InformationService extends BaseService<Information> {

    /**
     * 分页查询
     */
    PageInfo<Information> pageInfo(Information information, int pageSize, int pageNum);
    PageInfo<Information> pageLeft(Information information, int pageSize, int pageNum);
    List<Information> list(Information information);
}
